<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class AdminOrder extends Model
{
    protected $table = 'shop_orders';

    public function hasManyOrderdetail()
    {
        return $this->hasMany('App\Model\Orderdetail', 'order_id', 'id');
    }
}
